﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Session["username"] = "abc";
        string visiterName = Session["username"].ToString();
        if (visiterName != null)
            this.Label6.Text = "Welcome, " + visiterName;
        else
            this.Label6.Text = "Welcome!";

    }

    protected void Label5_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/SignIn.aspx",true);
    }
    protected void Label6_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/SelfInfo.aspx", true);
    }
    protected void Label1_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/SignIn.aspx",true );
    }
    protected void Label2_Click(object sender, EventArgs e)
    {

    }
    protected void Label3_Click(object sender, EventArgs e)
    {

    }
}
